package com.cd.learn.cdlearn.pattern.decorator;

/**
 * 装饰者类的公共父类
 */
public abstract class PeiCai extends FastFood{

    private FastFood fastFood;
    public PeiCai(FastFood fastFood){
        this.fastFood = fastFood;
    }


    @Override
    public abstract void showPrice();

    /**
     * 抽象装饰方法，由子类去实现
     */
    @Override
    public abstract void decorator();

}
